import {configureStore} from '@reduxjs/toolkit'
import userReducer, { UserStateType } from "./userReducer";
import componentsReducer, {ComponentsStateType} from './componentsReducer';

export type StateType = {
  user: UserStateType;
  components: ComponentsStateType;
};

export default configureStore({
  reducer: {
    user: userReducer,

    //  组件列表()
    components: componentsReducer,

    // 问卷信息  tile
  }
})
